package ObjectsPlus_extends.S.T.Keywords;

public class A_Teacher extends A_Character {
    private String partment;

    public A_Teacher(){}
    public A_Teacher(String name, int age, String partment){
        super(name, age);
        this.partment = partment;
    }

    @Override
    public void action(){
        System.out.println("发布问题");
    }
}
